import request from '/@/utils/request';
//查询员工详细信息
const getUserInfoDetail = (params: any) => {
	return request({
		url: '/sysUser/detail',
		method: 'get',
		data: params,
	});
};
//修改员工信息
const postChangeUserInfo = (params: any) => {
	return request({
		url: '/sysUser/updateInfo',
		method: 'post',
		data: params,
	});
};
//修改密码
const postChangePassword = (params: any) => {
	return request({
		url: '/modifyPassword',
		method: 'post',
		data: params,
	});
};

export { getUserInfoDetail, postChangeUserInfo, postChangePassword };
